﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DaoYou.Web.Guider.Account;

namespace DaoYou.Web.Account
{
    public partial class UpHeadImg : DaoYou.Web.Guider.Account.PageBase
    {
        protected string CurrentAvatarPhoto { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            RenChangYou.BLL.DY_User bll = new RenChangYou.BLL.DY_User();
            this.CurrentAvatarPhoto = bll.GetModelByCache(base.Account).HeadImageName;
            this.CurrentAvatarPhoto = Page.ResolveUrl("~/upload/" + base.Account + "/" + this.CurrentAvatarPhoto);
        }
    }
}